﻿/// <Summary> 
/// $Author: Nikhil Chinchwade 
/// This file contains a static context related information for the current CMS Instance

/// </summary>
/// 

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MindTree.PerfWorkbench.Azure.Monitor.Core
{
    /// <summary>
    /// Azure Mon Instance Context
    /// </summary>
    public class AzureMonInstanceContext
    {
        private static AzureApp azureApp = new AzureApp();

        /// <summary>
        /// Current Azure Deployment Object
        /// </summary>
        public static AzureApp AzureApp
        {
            get
            {
                return azureApp;
            }
            set
            {
                azureApp = value;
            }
        }

        public static bool IsExportChecked = false;

        public static string ExportFileLocation;

        static AzureMonInstanceContext()
        {
           // AzureApp.Add(new AzureApp());
        }

        private static CounterSets configCountersets = new CounterSets();

        /// <summary>
        /// Perforamnce Counters configured for various Azure role instances
        /// </summary>
        public static CounterSets ConfigCountersets
        {
            get
            {
                return configCountersets;
            }
            set
            {
                configCountersets = value;
            }
        }
                
    }

}
